package sk.ogame.realm.entity;

/**
 * @author 支绍昆
 * 2023/2/1
 * 星球
 **/
public class Star {

    private int id; //1-210-15 例:121015
    private int galaxy; //星河系 例:1
    private int system; //星系 例:210
    private int slot;   //球位 例:15

    private int lately; //最后登录时间 20230101
    private int attack; //攻击结果 0-未尝试 1-成功 2-失败
    private int rank;   //排名
    private int build;  //建筑等级
    private int resource;   //资源总量

    @Override
    public String toString() {
        return "Star{" +
                "id=" + id +
                ", galaxy=" + galaxy +
                ", system=" + system +
                ", slot=" + slot +
                ", lately=" + lately +
                ", attack=" + attack +
                ", rank=" + rank +
                ", build=" + build +
                ", resource=" + resource +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getGalaxy() {
        return galaxy;
    }

    public void setGalaxy(int galaxy) {
        this.galaxy = galaxy;
    }

    public int getSystem() {
        return system;
    }

    public void setSystem(int system) {
        this.system = system;
    }

    public int getSlot() {
        return slot;
    }

    public void setSlot(int slot) {
        this.slot = slot;
    }

    public int getLately() {
        return lately;
    }

    public void setLately(int lately) {
        this.lately = lately;
    }

    public int getAttack() {
        return attack;
    }

    public void setAttack(int attack) {
        this.attack = attack;
    }

    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }

    public int getBuild() {
        return build;
    }

    public void setBuild(int build) {
        this.build = build;
    }

    public int getResource() {
        return resource;
    }

    public void setResource(int resource) {
        this.resource = resource;
    }
}
